package com.zhou.base.model.ao;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;

/**
 * @author 18576666986
 * @description 导入学生列表
 * @createDate 2022/7/18 14:38
 */
@Data
public class ImportStudentAo {

    @ExcelIgnore
    private Integer id;

    @NotEmpty(message = "不能为空")
    @Excel(name = "学生姓名")
    private String name;

    @NotEmpty(message = "不能为空")
    @Excel(name = "证件号")
    private String idCard;

    @NotEmpty(message = "不能为空")
    @Excel(name = "毕业院校")
    private String schoolName;

    @ExcelIgnore
    @ApiModelProperty("学校id")
    private Long schoolId;

    @ApiModelProperty("毕业日期")
    @ExcelIgnore
    private LocalDate graduationTime;
}
